<?php
class Admin_IndexController extends Zend_Controller_Action{

	public function init(){
		parent::init();

	}

	public function indexAction(){
		$date  = new Zend_Date();
		$this->view->currentDateLabel = $date->toString();
	}

	public function orderAction(){
		echo 'admin orderfor user';

	}

//	public function accountAction(){
//		
//		echo 'edit, add , delete account';
//	}

	public function topupAction(){
		echo 'set top up';
	}

	public function menuAction(){
		echo 'Add menu';

	}

	public function scheduleAction(){
		$oSchedule = new Admin_Model_ScheduleMapper();
		$this->view->arrSchedule = $oSchedule->fetchAll();
		if ($this->getRequest()->isPost()){
			foreach($this->getRequest()->getParams() as $item)
			echo $item;
		}
	}

	public function statisticsAction(){


	}

	




}